from services.errors.base import BaseServiceError


class SysMenuNotFoundError(BaseServiceError):
    def __init__(self, menu_id: str):
        super().__init__(menu_id)
        self.menu_id = menu_id

class SysMenuParamError(BaseServiceError):
    def __init__(self, message: str):
        self.description = message
        super().__init__(message)

class SysRoleNotFoundError(BaseServiceError):
    def __init__(self, role_id: str):
        super().__init__(role_id)
        self.role_id = role_id

class DelBuildInRoleError(BaseServiceError):
    def __init__(self):
        super().__init__()
